package com.qlk.vorder.sdk.api.request;

import java.util.Date;

import org.codehaus.jackson.map.annotate.JsonDeserialize;

import com.qlk.common.sdk.api.request.QlkRequest;
import com.qlk.vorder.domain.enums.CustomJsonDateSerializer;

/**
 * ReserveSessionRequest：预约订单会话记录请求参数
 * 
 * @author zhaoyanan
 * @version 2016-7-28 14:14:00
 * 
 */
public class ReserveSessionRequestDto extends QlkRequest {

	/** 序列化标识 */
	private static final long serialVersionUID = 1L;
	/** 会话唯一ID */
	private Integer sessionId;
	/** 签名 */
	private String sign;
	/** 咨询订单号 */
	private String orderid;
	/** 开始会话时间 */
	private Date startTime;
	/** 结束会话时间 */
	private Date endTime;
	/** 通话时长 */
	private String timeLength;

	public Integer getSessionId() {
		return sessionId;
	}

	public void setSessionId(Integer sessionId) {
		this.sessionId = sessionId;
	}

	public String getSign() {
		return sign;
	}

	public void setSign(String sign) {
		this.sign = sign;
	}

	public String getOrderid() {
		return orderid;
	}

	public void setOrderid(String orderid) {
		this.orderid = orderid;
	}

	@JsonDeserialize(using = CustomJsonDateSerializer.class)
	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	@JsonDeserialize(using = CustomJsonDateSerializer.class)
	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public String getTimeLength() {
		return timeLength;
	}

	public void setTimeLength(String timeLength) {
		this.timeLength = timeLength;
	}
}
